package br.com.exceptiongroup.chatexception.controller;

import org.springframework.context.annotation.Scope;
import org.springframework.security.core.userdetails.User;
import org.springframework.stereotype.Controller;


@Controller
@Scope("session")
public class SessionMB extends AbstractManagedBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7684690398063382087L;
	
	public User getCurrentUser() {
		return getUsuarioAutenticado();
	}
	
}